package com.sjgs.gis.fs;

import com.sjgs.gis.domain.DataFile;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.ResourceRegion;
import org.springframework.http.HttpHeaders;
import reactor.core.publisher.Mono;

public interface ChunkStore {
    Mono<String> mergeChunks(DataFile datafile, Long chunkcount);
    Mono<Resource> getResourceByFkey(DataFile datafile);
    Mono<ResourceRegion> getRegion(Mono<Resource> resourceMono, HttpHeaders headers);
}
